package com.study.cloud.gateway.client.core;

/**
 * @author wangwancheng
 * @create 2025/7/19 19:02
 */

public enum ApiProtocol {

    HTTP("http","http协议"),

    DUBBO("dubbo","dubbo协议");

    private String protocol;

    private String desc;

    ApiProtocol(String protocol, String desc) {
        this.protocol = protocol;
        this.desc = desc;
    }

    public String getProtocol() {
        return protocol;
    }

    public String getDesc() {
        return desc;
    }
}
